using System;
using System.Collections.Generic;
using System.Text;

namespace PatternMaker
{
	/// <summary>
	/// Represents a file type filter.
	/// </summary>
	public class FilenameFilter
	{
		private List<string> _filters = new List<string>();
		private string _name;


		/// <summary>
		/// The filename masks that represent this file type.
		/// </summary>
		public List<string> Filters
		{
			get { return _filters; }
			set { _filters = value; }
		}

		/// <summary>
		/// The name of this filename filter.
		/// </summary>
		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}


		/// <summary>
		/// Returns a string representation of this object.
		/// </summary>
		/// <returns>The string representation.</returns>
		public override string ToString()
		{
			return Name;
		}
	}
}
